package com.site.blog.my.core.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class TbAdminUser implements Serializable {
    @ApiModelProperty(value = "管理员id")
    private Integer adminUserId;

    @ApiModelProperty(value = "管理员登陆名称")
    private String loginUserName;

    @ApiModelProperty(value = "管理员登陆密码")
    private String loginPassword;

    @ApiModelProperty(value = "管理员显示昵称")
    private String nickName;

    @ApiModelProperty(value = "是否锁定 0未锁定 1已锁定无法登陆")
    private Byte locked;

    private static final long serialVersionUID = 1L;

    public Integer getAdminUserId() {
        return adminUserId;
    }

    public void setAdminUserId(Integer adminUserId) {
        this.adminUserId = adminUserId;
    }

    public String getLoginUserName() {
        return loginUserName;
    }

    public void setLoginUserName(String loginUserName) {
        this.loginUserName = loginUserName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Byte getLocked() {
        return locked;
    }

    public void setLocked(Byte locked) {
        this.locked = locked;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", adminUserId=").append(adminUserId);
        sb.append(", loginUserName=").append(loginUserName);
        sb.append(", loginPassword=").append(loginPassword);
        sb.append(", nickName=").append(nickName);
        sb.append(", locked=").append(locked);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}